package org.kopsox.comm.listener.impl;

import org.kopsox.comm.message.ValueMessage;
import org.kopsox.comm.message.impl.LoggingMessageImpl;
import org.kopsox.environment.proxy.KopsoxRegistry;

public class KopsoxExampleObserver extends AbstractObserver {

	private static final long serialVersionUID = 2241283789814912331L;

	@Override
	public void notification(ValueMessage message) {
		KopsoxRegistry.INSTANCE.getKopsoxLoggerForClass(getClass()).writeLogMessage(new LoggingMessageImpl(message.toString(),"notification"));
	}

}
